<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="https://cdn.staticfile.org/jquery/1.10.2/jquery.min.js"></script>
</head>
<body>

<img src="../css基础/img/bg.png" height="561" width="1366"/></body>
<button id="remove">点击我删除图片</button>
<script>
    $('#remove').click(function () {
        $('img').remove();
    });
</script>
</html>